﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
using DAO;


namespace FDeal
{
    public partial class Guest : System.Web.UI.MasterPage
    {
        string _currentTheme = "DefaultTheme";

        protected void Page_Load(object sender, EventArgs e)
        {

        }
       

        protected void Button1_Click(object sender, EventArgs e)
        {
            Session["CurrentTheme"] = "Theme1";
            Response.Redirect(Request.RawUrl);
        }

        protected void Page_PreInit(object sender, EventArgs e)
        {
            Page.Theme = _currentTheme;
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            Session["CurrentTheme"] = "Theme2";
            Response.Redirect(Request.RawUrl);
        }

        
    }
}